package com.csun.cmny.provider.service;

import com.csun.cmny.core.support.IService;
import com.csun.cmny.provider.model.domain.NtRevise;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
 * @Auther: chisj chisj@foxmal.com
 * @Date: 2019-12-12 13:29
 * @Description:
 */
public interface NtReviseService extends IService<NtRevise> {

    /**
     * init revise process
     *
     * @param homeId
     * @param groupId
     *
     * @return
     */
    Integer processInit(Integer homeId, Long groupId);

    /**
     * init revise data
     *
     * @param homeId
     * @param groupId
     *
     * @return
     */
    Integer reviseInit(Integer homeId, Long groupId);

    Integer revise(Integer homeId, Long groupId);
}
